<template>
  <div>
    <!-- 指定在此显示当前路由组件 -->
    <router-view></router-view>

    <div class="footer" v-if="!$route.meta.isHideFooter">这是页面的Footer</div>
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>

<style scoped>
.footer {
  height: 50px;
  background: #ccc;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
}
</style>
